<template>
  <view>
    <myLogin v-if="!token"></myLogin>
    
    <myInfo v-else></myInfo>
  </view>
</template>

<script>
import badge from '../../mixins/tabbar-badge.js'

import {mapState} from 'vuex'
  export default {
    mixins:[badge],
    data() {
      return {
        
      };
    },
    computed:{
      ...mapState('my_user',['token'])
    },
  }
</script>

<style lang="scss">

</style>
